Skip to content

Conversation

@javiersanp
Copy link

I suppose that all the run_inside_dir(..., ...) == 0 was meant to have an assert

I suppose that all the run_inside_dir(..., ...) == 0 was meant to have an assert
@PsiACE
Copy link
Collaborator

PsiACE commented Sep 15, 2019

Thank you for your PR. Adding assert does not bring substantial benefits. Please let me know if this is necessary.

@AndreMiras
Copy link
Contributor

AndreMiras commented Mar 29, 2020

Either the == 0 isn't necessary or the assert is very necessary, right?
What do you think @PsiACE ?
I'm would be happy to rebase this PR and fix one or the other
Edit:

AndreMiras added a commit to AndreMiras/cookiecutter-pypackage-fork that referenced this pull request Mar 29, 2020
AndreMiras added a commit to AndreMiras/cookiecutter-pypackage-fork that referenced this pull request Mar 29, 2020
This is the opposite of audreyfeldroy#579
If one isn't merged, the other should be.
@audreyfeldroy audreyfeldroy deleted the branch audreyfeldroy:master July 12, 2025 03:26
@AndreMiras
Copy link
Contributor

Why was this closed? You have that code run_inside_dir('pytest', str(result.project)) == 0, why do you need the == 0 if you don't make it fail when it's not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants